﻿using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using System;

namespace H2.NET.Web.Pages.SMD.Model
{
    [Table]
    [Serializable]
    public class t_smd_Deposit : DataObject
    {
        [ID]
        [Column]
        [IDENTITY]
        public int DepositID { get { return fDEPOSITID; } set { fDEPOSITID = value; EntityState.FieldChange("DepositID"); } } private int fDEPOSITID; public static FieldInfo _DepositID = new FieldInfo("t_smd_Deposit", "DepositID");
        [Column]
        public string AuthID { get { return fAUTHID; } set { fAUTHID = value; EntityState.FieldChange("AuthID"); } } private string fAUTHID; public static FieldInfo _AuthID = new FieldInfo("t_smd_Deposit", "AuthID");
        [Column]
        public string DepositType { get { return fDEPOSITTYPE; } set { fDEPOSITTYPE = value; EntityState.FieldChange("DepositType"); } } private string fDEPOSITTYPE; public static FieldInfo _DepositType = new FieldInfo("t_smd_Deposit", "DepositType");
        [Column]
        public decimal Amount { get { return fAMOUNT; } set { fAMOUNT = value; EntityState.FieldChange("Amount"); } } private decimal fAMOUNT; public static FieldInfo _Amount = new FieldInfo("t_smd_Deposit", "Amount");
        [Column]
        public int StoreID { get { return fSTOREID; } set { fSTOREID = value; EntityState.FieldChange("StoreID"); } } private int fSTOREID; public static FieldInfo _StoreID = new FieldInfo("t_smd_Deposit", "StoreID");
        [Column]
        public DateTime? PostingDate { get { return fPOSTINGDATE; } set { fPOSTINGDATE = value; EntityState.FieldChange("PostingDate"); } } private DateTime? fPOSTINGDATE; public static FieldInfo _PostingDate = new FieldInfo("t_smd_Deposit", "PostingDate");
        [Column]
        public string Payer { get { return fPAYER; } set { fPAYER = value; EntityState.FieldChange("Payer"); } } private string fPAYER; public static FieldInfo _Payer = new FieldInfo("t_smd_Deposit", "Payer");
        [Column]
        public string PaymentNotes { get { return fPAYMENTNOTES; } set { fPAYMENTNOTES = value; EntityState.FieldChange("PaymentNotes"); } } private string fPAYMENTNOTES; public static FieldInfo _PaymentNotes = new FieldInfo("t_smd_Deposit", "PaymentNotes");
        [Column]
        public string RenovationType { get { return fRenovationType; } set { fRenovationType = value; EntityState.FieldChange("RenovationType"); } } private string fRenovationType; public static FieldInfo _RenovationType = new FieldInfo("t_smd_Deposit", "RenovationType");
        [Column]
        public string SapDocumentNo { get { return fSapDocumentNo; } set { fSapDocumentNo = value; EntityState.FieldChange("SapDocumentNo"); } } private string fSapDocumentNo; public static FieldInfo _SapDocumentNo = new FieldInfo("t_smd_Deposit", "SapDocumentNo");
        [Column]
        public int DeviceID { get { return fDEVICEID; } set { fDEVICEID = value; EntityState.FieldChange("DeviceID"); } } private int fDEVICEID; public static FieldInfo _DeviceID = new FieldInfo("t_smd_Deposit", "DeviceID");
        [Column]
        public string SapDeviceNo { get { return fSapDeviceNo; } set { fSapDeviceNo = value; EntityState.FieldChange("SapDeviceNo"); } } private string fSapDeviceNo; public static FieldInfo _SapDeviceNo = new FieldInfo("t_smd_Deposit", "SapDeviceNo");
        [Column]
        public decimal SellIn { get { return fSellIn; } set { fSellIn = value; EntityState.FieldChange("SellIn"); } } private decimal fSellIn; public static FieldInfo _SellIn = new FieldInfo("t_smd_Deposit", "SellIn");
        [Column]
        public decimal SellNow { get { return fSellNow; } set { fSellNow = value; EntityState.FieldChange("SellNow"); } } private decimal fSellNow; public static FieldInfo _SellNow = new FieldInfo("t_smd_Deposit", "SellNow");
        [Column]
        public int DealerId { get { return fDealerId; } set { fDealerId = value; EntityState.FieldChange("DealerId"); } } private int fDealerId; public static FieldInfo _DealerId = new FieldInfo("t_smd_Deposit", "DealerId");
    }
}